//package com.pengshun;
//
//import com.pengshun.modules.common.SpringContextHolder;
//import io.swagger.annotations.Api;
//import org.mybatis.spring.annotation.MapperScan;
//import org.springframework.boot.SpringApplication;
//import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
//import org.springframework.boot.web.servlet.server.ServletWebServerFactory;
//import org.springframework.cloud.openfeign.EnableFeignClients;
//import org.springframework.context.annotation.Bean;
//import org.springframework.scheduling.annotation.EnableAsync;
//import org.springframework.transaction.annotation.EnableTransactionManagement;
//import org.springframework.web.bind.annotation.RestController;
//
//@EnableAsync
//@EnableFeignClients
//@RestController
//@Api(hidden = true)
//@SpringBootApplication(scanBasePackages = {"com.pengshun"})
//@EnableTransactionManagement
////@EnableJpaAuditing(auditorAwareRef = "auditorAware")
//@MapperScan(basePackages = {"com.pengshun.modules.api.mapper"})
//public class RunAppApplication {
//    public static void main(String[] args) {
//        SpringApplication.run(RunAppApplication.class, args);
//    }
//
//    @Bean
//    public SpringContextHolder springContextHolder() {
//        return new SpringContextHolder();
//    }
//
//    @Bean
//    public ServletWebServerFactory webServerFactory() {
//        TomcatServletWebServerFactory fa = new TomcatServletWebServerFactory();
//        fa.addConnectorCustomizers(connector -> connector.setProperty("relaxedQueryChars", "[]{}"));
//        return fa;
//    }
//}
